package com.situ.shoplook.common.model;

import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 功能：
 *
 * @author 千堆雪
 * @version 1.0.0
 * <p>
 * created by 千堆雪 on 2024/8/25, last modified by 千堆雪 on 2024/8/25
 */
@Getter
@Setter
@EqualsAndHashCode(onlyExplicitlyIncluded = true)
@ToString
public class ProductSku implements Serializable {
    @EqualsAndHashCode.Include
    private Integer id;
    private String skuNo;
    private BigDecimal marketPrice;//标价
    private BigDecimal price;//实售价
    private Integer qty;//库存数量
    private Integer spuId;//spu编号
    private Integer specGroupId;//规格组编号
    private ProductSpu productSpu;//商品spu
    private SpecGroup specGroup;//规格组
}
